package com.anyou.mall.fin.vo;

import com.anyou.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author: gaochaohao
 * @Description: 订单金额管理Vo
 * Date: 2022/4/25
 */
@Data
@ApiModel(value = "订单金额管理Vo")
public class OrderAmountVo implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty("订单id")
    private Long orderId;


    /** 消费者账号 */
    @ApiModelProperty("消费者账号")
    private String phoneNumber;

    /** 汽配商名称 */
    @ApiModelProperty("合伙人名称")
    private String shopName;

    /** 消费订单号 */
    @ApiModelProperty("消费订单号")
    private String orderNo;

    /** 订单完成时间 */
    @ApiModelProperty("订单完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss:mm",timezone = "GMT+8")
    private Date completeTime;

    /** 支付时间 */
    @ApiModelProperty("支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss:mm",timezone = "GMT+8")
    private Date payTime;

    /** 订单金额 */
    @ApiModelProperty("订单金额")
    private BigDecimal orderAmount;

    /** 货款 */
    @ApiModelProperty("货款")
    private BigDecimal goodsAmount;

    /** 优惠金额 */
    @ApiModelProperty("优惠金额")
    private BigDecimal discountAmount;

    /** 保险费 */
    @ApiModelProperty("保险费")
    private BigDecimal insureAmount;

    /** 物流费 */
    @ApiModelProperty("物流费")
    private BigDecimal freightAmount;

    /** 退款金额 */
    @ApiModelProperty("退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty("支付方式（1微信，2线下）")
    private String payMode;

    /** 平台抽佣 */
    @ApiModelProperty("平台抽佣")
    private BigDecimal commission;

    /** 商家所得 */
    @ApiModelProperty("商家所得")
    private BigDecimal deserved;

    /** 订单完成总金额 */
    @ApiModelProperty("订单完成总金额")
    private BigDecimal totalOrderAmount;
    //新
    @ApiModelProperty("配送方式（1平台配送，2商家配送）")
    private String deliveryMode;


}
